﻿using System;
using System.Collections.Generic;
using System.Text;
using HZ.DrugTrade.IBLL;
using HZ.DrugTrade.Model;
using HZ.DrugTrade.DAL;
using System.Data;
using HZ.Common;
using System.Collections;
namespace HZ.DrugTrade.BLL
{
   public class BLL_AreaDistributionDelLog:IBLL_AreaDistributionDelLog
    {
        /// <summary>
        /// 获得企业配送更改记录日志
        /// </summary>
        /// <param name="where">列表条件</param>
        /// <param name="currentPage">当前页</param>
        /// <param name="pagesize">每页大小</param>
        /// <param name="totalrecord">总页数</param>
        /// <returns></returns>
       public IList<HZ.DrugTrade.Model.View.AreaDistributionDelLog> GetAreaDistributionDelCompany(HZ.DrugTrade.Model.Query.AreaDistributionDelLog where, int currentPage, int pagesize, out int totalrecord)
        {
            BLL_UserSession.CheckSession();
            return DAL_AreaDistributionDelLog.GetAreaDistributionDelCompany(where, currentPage, pagesize, out totalrecord);
        }
        #region
       /// <summary>
       /// 获得企业删除配送关系详细记录
       /// </summary>
       /// <param name="ProcureCatalogID"></param>
       /// <param name="currentPage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public IList<HZ.DrugTrade.Model.View.AreaDistributionDelLog> GetAreaDistributionDelLogByProcureCatalogID(HZ.DrugTrade.Model.Query.AreaDistributionDelLog where, int currentPage, int pagesize, out int totalrecord)
       {
          
           BLL_UserSession.CheckSession();
           return DAL_AreaDistributionDelLog.GetAreaDistributionDelLogByWhere(where, currentPage, pagesize, out totalrecord);
       }
       /// <summary>
       /// 获取企业的不良记录
       /// </summary>
       /// <param name="where"></param>
       /// <param name="currentPage"></param>
       /// <param name="pagesize"></param>
       /// <param name="totalrecord"></param>
       /// <returns></returns>
       public DataTable GetCompanyDelLog(HZ.DrugTrade.Model.Query.Company where, int currentPage, int pagesize, out int totalrecord)
       {
           BLL_UserSession.CheckSession();
           return DAL_AreaDistributionDelLog.GetCompanyDelLog(where, currentPage, pagesize, out totalrecord);
       }
     }
        #endregion
     
   
    }

